<?php
namespace app\site\model;

use app\common\library\Model;
use think\model\concern\SoftDelete;
class SiteSetting extends Model
{
	protected $append = [
		'template_info'
	];
	/**
	 * [siteInfo description]
	 * @return [type] [description]
	 */
    protected function siteInfo(){
		return $this->hasOne("app\\site\\model\\Site",'id', 'site_id');
	}
	/**
	 * [templateInfo description]
	 * @return [type] [description]
	 */
	protected function templateInfo(){
		return $this->hasOne("app\\site\\model\\SiteTemplateStyle",'id','style_id');
	}
}